package com.iceland.client.config;

import com.iceland.common.util.ResourceReader;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Environment {
    static ProxyConfig proxyConfig;
    static {
        log.info("加载proxy.yml配置");
        proxyConfig = ResourceReader.loadYml(ProxyConfig.class, "proxy");
    }

    public static ProxyConfig getProxyConfig() {
        return proxyConfig;
    }
}
